package com.sise.dubbo.dto;

import java.io.Serializable;
import java.util.List;

/**
 * @author hao_lin
 * @data 2018/10/10 9:42
 */
public class PaginationRespDTO<T> implements Serializable {

    public PaginationRespDTO(){

    }

    public PaginationRespDTO(List<T> list, long total){
        this.list = list;
        this.total = total;
    }

    private List<T> list;

    private long total;

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }
}
